package com.szpx.service.impl;

import com.szpx.entity.ZJY.liuyan;
import com.szpx.mapper.liuyanMapper;
import com.szpx.service.liuyanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional //事务处理策略
public class liuyanServiceImpl implements liuyanService {

    @Autowired
    private liuyanMapper liuyanMapper;


    @Override
    public List<liuyan> selectAllliuyan() {
        return liuyanMapper.selectAll();
    }
}
